package com.example.asus.testskip.DGPhone.phone;

import android.app.KeyguardManager;
import android.app.KeyguardManager.KeyguardLock;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.PowerManager;
import android.os.PowerManager.WakeLock;

/* renamed from: dg.ca.com.DGPhone.phone.ScreenService */
public class ScreenService extends Service {
    private KeyguardLock mKeyguardLock = null;
    KeyguardManager mKeyguardManager = null;

    /* renamed from: pm */
    private PowerManager f28pm = null;
    private WakeLock wakeLock = null;

    public IBinder onBind(Intent arg0) {
        return null;
    }

    public void onCreate() {
        this.f28pm = (PowerManager) getSystemService(POWER_SERVICE);
        this.mKeyguardManager = (KeyguardManager) getSystemService(KEYGUARD_SERVICE);
        super.onCreate();
    }

    public void onStart(Intent intent, int startId) {
        this.wakeLock = this.f28pm.newWakeLock(268435462, "My Tag");
        this.wakeLock.acquire();
        this.mKeyguardLock = this.mKeyguardManager.newKeyguardLock("MY TAG");
        this.mKeyguardLock.disableKeyguard();
    }

    public void onDestroy() {
        this.wakeLock.release();
        super.onDestroy();
    }
}
